Fix annotations
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Feb 2015 20:02:07 +0000 (21:02 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 10 Feb 2015 11:59:01 +0000 (06:59 -0500)
The function gtk_label_set_attributes() is also used to
unset attributes, by passing %NULL. Reflect that in the
argument annotations.

gtk/gtklabel.c

index 6cc0e24d9d790c105ccc96d383f124f7af74bddc..e4504d03ea45250c1a710f0ae171fa30f23baebc 100644 (file)
@@ -2232,10 +2232,10 @@ gtk_label_set_text (GtkLabel    *label,
 /**
  * gtk_label_set_attributes:
  * @label: a #GtkLabel
- * @attrs: a #PangoAttrList
- * 
+ * @attrs: (allow-none): a #PangoAttrList, or %NULL
+ *
  * Sets a #PangoAttrList; the attributes in the list are applied to the
- * label text. 
+ * label text.
  *
  * The attributes set with this function will be applied
  * and merged with any other attributes previously effected by way